﻿using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Coldairarrow.Entity.View
{
    /// <summary>
    /// VIEW
    /// </summary>
    [Table("View_PB_MaterialStockNumber")]
    public partial class View_PB_MaterialStockNumber
    {

        /// <summary>
        /// 主键ID
        /// </summary>
        public String Id { get; set; }

        /// <summary>
        /// 组织Id
        /// </summary>
        public String DeptId { get; set; }

        /// <summary>
        /// 物料名称
        /// </summary>
        public String Name { get; set; }

        /// <summary>
        /// 物料编码
        /// </summary>
        public String Code { get; set; }

        /// <summary>
        /// 成品编码
        /// </summary>
        public String ProductCode { get; set; }

        /// <summary>
        /// 物料简称
        /// </summary>
        public String SimpleName { get; set; }

        /// <summary>
        /// 物料类型ID
        /// </summary>
        public String MaterialTypeId { get; set; }

        /// <summary>
        /// 单位组ID
        /// </summary>
        public String UnitGroupId { get; set; }

        /// <summary>
        /// 仓储单位ID
        /// </summary>
        public String storageId { get; set; }

        /// <summary>
        /// 物料规格
        /// </summary>
        public String Spec { get; set; }

        /// <summary>
        /// 是否为成品：0=否；1=是
        /// </summary>
       // public String IsProduct { get; set; }

        /// <summary>
        /// 是否为自制件：0=否；1=是
        /// </summary>
       // public String IsMine { get; set; }

        /// <summary>
        /// 是否外购：0=否；1=是
        /// </summary>
        //public String IsBuy { get; set; }

        /// <summary>
        /// 是否有Bom引用：0=否；1=是
        /// </summary>
        //public String HasRef { get; set; }

        /// <summary>
        /// 物料img
        /// </summary>
       // public String MaterialImg { get; set; }

        /// <summary>
        /// 每包装包含数量
        /// </summary>
       // public Double? PackageNum { get; set; }

        /// <summary>
        /// 审核前数量
        /// </summary>
       // public Double? ScanNum { get; set; }

        /// <summary>
        /// 审核后数量
        /// </summary>
        //public Double? CheckNum { get; set; }

        /// <summary>
        /// 仓储单位对应得系数
        /// </summary>
       // public Double? Storagenumber { get; set; }

        /// <summary>
        /// 销售单位对应的系数
        /// </summary>
        //public Double? Salenumber { get; set; }

        /// <summary>
        /// 采购单位对应的系数
        /// </summary>
        //public Double? Purchasenumber { get; set; }

        /// <summary>
        /// 生产单位对应的系数
        /// </summary>
       // public Double? Productionnumber { get; set; }

        /// <summary>
        /// 主单位:ps 1.仓储单位 2. 销售单位 3.采购单位 4生产单位
        /// </summary>
       // public String MainUnit { get; set; }

        /// <summary>
        /// 大包装数量
        /// </summary>
       // public Double? MaxPackageNum { get; set; }

        /// <summary>
        /// StockNumber
        /// </summary>
        public Double StockNumber { get; set; }

        /// <summary>
        /// 货位ID
        /// </summary>
        public String LocationId { get; set; }

        /// <summary>
        /// 货位名称
        /// </summary>
        public String LocationName { get; set; }

        /// <summary>
        /// 货架名称
        /// </summary>
        public String RackName { get; set; }

        /// <summary>
        /// 货区名称
        /// </summary>
        public String StorAreaName { get; set; }
     
    

        
  }
}